<div class="main">
	<form action="<?php echo $base.'activate'?>" method="post">
		<table>
			<tr>
				<td><label for="email">Email address:</label></td>
				<td><input id="email" name="email" type="text"/></td>
				<?php echo form_error('email', '<td class="validation_error">', '</td>') ?>
			</tr>
			<tr>
				<td><label for="temp_password">Temporary password:</label>
				<td><input id="temp_password" name="temp_password" type="text" maxlength="32"/></td>
				<?php echo form_error('temp_password', '<td class="validation_error">', '</td>') ?>
			</tr>
			<tr>
				<td><label for="security_question">Security question:</label></td>
				<td>
					<select id="security_question" name="security_question">
						<option value="0" selected="selected">(Please select)</option>
						<?php foreach ($questions as $question): ?>
							<option value="<?php echo $question['id'] ?>"><?php echo $question['text'] ?></option>
						<?php endforeach ?>
					</select>
				</td>
				<?php echo form_error('security_question', '<td class="validation_error">', '</td>') ?>
			</tr>
			<tr>
				<td><label for="security_answer">Answer:</label>
				<td><input id="security_answer" name="security_answer" type="password" maxlength="32"/></td>
				<?php echo form_error('security_answer', '<td class="validation_error">', '</td>') ?>
			</tr>
			<tr>
				<td><label for="password1">Password:</label>
				<td><input id="password1" name="password1" type="password" maxlength="32"/></td>
				<?php echo form_error('password1', '<td class="validation_error">', '</td>') ?>
			</tr>
			<tr>
				<td><label for="password2">Confirm Password:</label>
				<td><input id="password2" name="password2" type="password" maxlength="32"/></td>
				<?php echo form_error('password2', '<td class="validation_error">', '</td>') ?>
			</tr>
		</table>
		<input id="signup" type="submit" value="ACTIVATE"/>
	</form>
</div>